package com.csp.mingyue.auth.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 邮箱登录入参
 *
 * @author Strive
 */
@Data
@Schema(description = "邮箱登录入参")
public class EmailLoginDto {

	/**
	 * 邮箱
	 */
	@Schema(description = "邮箱")
	@NotBlank(message = "邮箱不能为空")
	private String email;

	/**
	 * 邮箱 code
	 */
	@Schema(description = "邮箱code")
	@NotBlank(message = "邮箱code不能为空")
	private String emailCode;

}
